﻿@model projectManagementWeb.Models.ForgotPasswordModel

@{
    ViewBag.Title = "Password Reset";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

<h2>Password Reset</h2>
<p>
    Use the form below to reset your password.
</p>

@using (Html.BeginForm()) { 
    @Html.ValidationSummary(true, "Account could not been confirmed. Please correct the errors and try again.")
    <div>
        <fieldset>
            <legend>Account information</legend>
            <table>
                <tr>
                    <td  class="editor-label">@Html.LabelFor(m => m.UserName)</td>
                    <td class="editor-field">@Html.TextBoxFor(m => m.UserName) @Html.ValidationMessageFor(m => m.UserName)</td>
                </tr>
                <tr>
                    <td class="editor-label">@Html.LabelFor(m => m.Question)</td>
                    <td class="editor-field">@Html.TextBoxFor(m => m.Question) @Html.ValidationMessageFor(m => m.Question)</td>
                </tr>
                <tr>
                    <td class="editor-label">@Html.LabelFor(m => m.Answer)</td>
                    <td class="editor-field">@Html.TextBoxFor(m => m.Answer) @Html.ValidationMessageFor(m => m.Answer)</td>
                </tr>
                <tr>
                    <td colspan="2" align="center"><input type="submit" value="Submit" /></td>
                </tr>
            </table>
        </fieldset>
    </div>

}